package cn.vcjf.weapp.api.active.service.impl;

import cn.vcjf.weapp.api.active.entity.UserActive;
import cn.vcjf.weapp.api.active.mapper.UserActiveMapper;
import cn.vcjf.weapp.api.active.service.UserActiveService;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhengzihang
 * @since 2018-09-26
 */
@Service("userActiveService")
public class UserActiveServiceImpl extends ServiceImpl<UserActiveMapper, UserActive> implements UserActiveService {

	@Override
	public List<UserActive> selectUserActiveList(Page<UserActive> page, UserActive userActive) {
		return baseMapper.selectUserActiveList(page,userActive);
	}
	@Override
	public List<UserActive> selectActiveUserList( UserActive userActive) {
		return baseMapper.selectActiveUserList(userActive);
	}
}
